/*
 * @Author: zyp yangpeng.zhang@fts.aero
 * @Date: 2024-05-24 15:54:56
 * @LastEditors: zyp yangpeng.zhang@fts.aero
 * @LastEditTime: 2024-06-05 14:19:19
 * @FilePath: \vite3-vite-template\src\utils\umd.ts
 * @Description: 程式描述
 */

// import {
//   createVNode,
//   defineComponent,
//   openBlock,
//   createElementBlock,
//   resolveComponent,
//   createTextVNode,
//   createElementVNode
// } from 'vue'; // 建议还是以这种方式

import * as VueFunctions from 'vue';              // 导入所有vue的函数
import * as VueRouterFunctions from 'vue-router'; // 导入所有vue-router的函数
import * as PiniaFunctions from 'pinia';          // 导入所有pinia的函数

const _this = (window as any);

export const configWindowGlobalThis = () => {
  _this.Vue = {
    ...VueFunctions
  };

  _this.vueRouter = {
    ...VueRouterFunctions
  };

  _this.pinia = {
    ...PiniaFunctions
  }
}
